package com.num2.model.wly;

import java.util.LinkedList;
import java.util.List;

import com.num2.util.Object2JsonUtil;

public class RichListChartModel {
	private List<Integer> user_id = new LinkedList<Integer>();
	private List<Integer> balance  = new LinkedList<Integer>();
	private List<String> name = new LinkedList<String>();
	private String jUser_id;
	private String jBalance;
	private String jName;
	
	public void setAttr2Json(){
		jUser_id = Object2JsonUtil.getJson(user_id);
		jBalance = Object2JsonUtil.getJson(balance);
		jName = Object2JsonUtil.getJson(name);
	}
	
	public List<Integer> getUser_id() {
		return user_id;
	}
	public void setUser_id(List<Integer> user_id) {
		this.user_id = user_id;
	}
	public List<Integer> getBalance() {
		return balance;
	}
	public void setBalance(List<Integer> balance) {
		this.balance = balance;
	}
	public List<String> getName() {
		return name;
	}
	public void setName(List<String> name) {
		this.name = name;
	}
	public String getjUser_id() {
		return jUser_id;
	}
	public void setjUser_id(String jUser_id) {
		this.jUser_id = jUser_id;
	}
	public String getjBalance() {
		return jBalance;
	}
	public void setjBalance(String jBalance) {
		this.jBalance = jBalance;
	}
	public String getjName() {
		return jName;
	}
	public void setjName(String jName) {
		this.jName = jName;
	}
	@Override
	public String toString() {
		return "RichListChartModel [jUser_id=" + jUser_id + ", jBalance="
				+ jBalance + ", jName=" + jName + "]";
	}
}
